From: Colin Walters Date: Tue, 22 Jul 2025 21:38:41 +0000 (-0400) Subject: soft-reboot: Also handle /boot X-Git-Tag: archive/raspbian/2025.7-2+rpi1^2^2~6^2~2^2~7^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22stanciumarius94%40gmail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22stanciumarius94%40gmail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=f97feced6512767c5f890aa67be39d1747107311;p=ostree.git soft-reboot: Also handle /boot Closes: https://github.com/ostreedev/ostree/issues/3486 Signed-off-by: Colin Walters --- diff --git a/src/libostree/ostree-soft-reboot.c b/src/libostree/ostree-soft-reboot.c index a94ab41f..809b7991 100644 --- a/src/libostree/ostree-soft-reboot.c +++ b/src/libostree/ostree-soft-reboot.c @@ -72,6 +72,9 @@ _ostree_prepare_soft_reboot (GError **error) if (!using_composefs) return glnx_throw (error, "failed to mount with composefs"); + if (!otcore_mount_boot (sysroot_path, OTCORE_RUN_NEXTROOT, error)) + return FALSE; + if (!otcore_mount_etc (config, &metadata_builder, OTCORE_RUN_NEXTROOT, error)) return FALSE;